<template>
  <div class="login-container">
    <!-- 动态背景网格 -->
    <div class="bg-grid"></div>

    <!-- 浮动粒子背景 -->
    <div class="bg-particles">
      <div class="particle" v-for="i in 50" :key="i"></div>
    </div>

    <!-- 左侧介绍区域 -->
    <div class="intro-section">
      <div class="intro-aurora"></div>
      <div class="intro-content">
        <div class="brand-header">
          <h1 class="brand-title">
            <span class="title-gradient">ERP</span>
            <span class="title-normal">管理系统</span>
          </h1>
          <p class="brand-subtitle">现代化企业资源规划平台</p>
        </div>

        <div class="intro-badges">
          <span class="badge">微服务架构</span>
          <span class="badge">AI 智能决策</span>
          <span class="badge">低代码扩展</span>
        </div>

        <div class="intro-stats">
          <div class="stat-item">
            <div class="stat-value">99.99%</div>
            <div class="stat-label">系统可用性</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">200+</div>
            <div class="stat-label">业务组件</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">10万+</div>
            <div class="stat-label">日处理单据</div>
          </div>
        </div>

        <div class="features-list">
          <div class="feature-item">
            <div class="feature-icon">
              <el-icon><Management /></el-icon>
            </div>
            <div class="feature-content">
              <h3>全面管理</h3>
              <p>集成人力资源、财务、采购、销售等多个业务模块</p>
            </div>
          </div>

          <div class="feature-item">
            <div class="feature-icon">
              <el-icon><DataAnalysis /></el-icon>
            </div>
            <div class="feature-content">
              <h3>数据分析</h3>
              <p>实时数据统计与分析，助力企业决策</p>
            </div>
          </div>

          <div class="feature-item">
            <div class="feature-icon">
              <el-icon><Connection /></el-icon>
            </div>
            <div class="feature-content">
              <h3>流程协同</h3>
              <p>优化业务流程，提升团队协作效率</p>
            </div>
          </div>

          <div class="feature-item">
            <div class="feature-icon">
              <el-icon><Lock /></el-icon>
            </div>
            <div class="feature-content">
              <h3>安全可靠</h3>
              <p>企业级安全保障，数据加密存储</p>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 右侧登录区域 -->
    <div class="login-section">
      <div class="login-box">
        <!-- 登录标题 -->
        <div class="login-header">
          <h2 class="login-title">欢迎登录</h2>
          <p class="login-subtitle">请输入您的账号和密码</p>
        </div>

        <!-- 登录表单 -->
        <el-form
          ref="loginFormRef"
          :model="loginForm"
          :rules="loginRules"
          class="login-form"
          @keyup.enter="handleLogin"
        >
          <el-form-item prop="username">
            <div class="input-wrapper">
              <el-input
                v-model="loginForm.username"
                placeholder="请输入用户名"
                size="large"
                prefix-icon="User"
                clearable
                class="modern-input"
              />
            </div>
          </el-form-item>

          <el-form-item prop="password">
            <div class="input-wrapper">
              <el-input
                v-model="loginForm.password"
                type="password"
                placeholder="请输入密码"
                size="large"
                prefix-icon="Lock"
                show-password
                clearable
                class="modern-input"
              />
            </div>
          </el-form-item>

          <el-form-item prop="captcha" v-if="showCaptcha">
            <div class="captcha-container">
              <div class="input-wrapper">
                <el-input
                  v-model="loginForm.captcha"
                  placeholder="请输入验证码"
                  size="large"
                  prefix-icon="Key"
                  clearable
                  class="captcha-input modern-input"
                />
              </div>
              <div class="captcha-image" @click="refreshCaptcha">
                <img :src="captchaUrl" alt="验证码" />
                <div class="captcha-refresh">刷新</div>
              </div>
            </div>
          </el-form-item>

          <el-form-item>
            <div class="login-options">
              <el-checkbox v-model="loginForm.remember" class="modern-checkbox">
                记住密码
              </el-checkbox>
              <el-link type="primary" @click="handleForgotPassword" class="forgot-link">
                忘记密码？
              </el-link>
            </div>
          </el-form-item>

          <el-form-item>
            <el-button
              type="primary"
              size="large"
              :loading="loading"
              @click="handleLogin"
              class="login-btn modern-btn"
            >
              <span v-if="!loading" class="btn-content">
                <el-icon class="btn-icon"><Right /></el-icon>
                登录系统
              </span>
              <span v-else class="btn-loading">
                登录中...
              </span>
            </el-button>
          </el-form-item>
        </el-form>

        <!-- 底部提示 -->
        <div class="login-footer">
          <div class="demo-tips">
            <div class="tips-icon">
              <el-icon><InfoFilled /></el-icon>
            </div>
            <div class="tips-content">
              <div class="tips-title">演示账号</div>
              <div class="tips-text">用户名: admin | 密码: 123456</div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 装饰元素 -->
    <div class="decoration-elements">
      <div class="floating-shape shape-1"></div>
      <div class="floating-shape shape-2"></div>
      <div class="floating-shape shape-3"></div>
      <div class="floating-shape shape-4"></div>
    </div>
  </div>
</template>

<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRouter } from 'vue-router'
import { ElMessage } from 'element-plus'
import { Right, InfoFilled, Management, DataAnalysis, Connection, Lock } from '@element-plus/icons-vue'
import { useUserStore } from '@/stores/user'

const router = useRouter()
const userStore = useUserStore()

// 表单引用
const loginFormRef = ref()

// 加载状态
const loading = ref(false)

// 是否显示验证码
const showCaptcha = ref(false)

// 验证码URL
const captchaUrl = ref('')

// 登录表单数据
const loginForm = reactive({
  username: 'admin',
  password: '123456',
  captcha: '',
  remember: false
})

// 表单验证规则
const loginRules = {
  username: [
    { required: true, message: '请输入用户名', trigger: 'blur' },
    { min: 2, max: 20, message: '用户名长度在 2 到 20 个字符', trigger: 'blur' }
  ],
  password: [
    { required: true, message: '请输入密码', trigger: 'blur' },
    { min: 6, max: 20, message: '密码长度在 6 到 20 个字符', trigger: 'blur' }
  ],
  captcha: [
    { required: true, message: '请输入验证码', trigger: 'blur' },
    { len: 4, message: '验证码长度为 4 位', trigger: 'blur' }
  ]
}

// 处理登录
const handleLogin = async () => {
  if (!loginFormRef.value) return

  try {
    const valid = await loginFormRef.value.validate()
    if (!valid) return

    loading.value = true

    // 模拟登录API调用
    await new Promise(resolve => setTimeout(resolve, 1000))

    // 简单的演示登录逻辑
    if (loginForm.username === 'admin' && loginForm.password === '123456') {
      // 设置用户信息 - 使用响应式更新
      userStore.userInfo.value = {
        id: '1',
        name: '系统管理员',
        email: 'admin@example.com',
        avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
        role: 'admin',
        permissions: []
      }
      userStore.value = 'demo-token-' + Date.now()

      // 保存到localStorage
      localStorage.setItem('token', userStore.value)
      if (loginForm.remember) {
        localStorage.setItem('username', loginForm.username)
      }

      ElMessage.success('登录成功')
      router.push('/dashboard')
    } else {
      ElMessage.error('用户名或密码错误')
    }
  } catch (error) {
    console.error('登录失败:', error)
    ElMessage.error('登录失败，请重试')
  } finally {
    loading.value = false
  }
}

// 刷新验证码
const refreshCaptcha = () => {
  captchaUrl.value = `/api/captcha?t=${Date.now()}`
}

// 忘记密码
const handleForgotPassword = () => {
  ElMessage.info('请联系系统管理员重置密码')
}

// 组件挂载时
onMounted(() => {
  // 检查是否记住了用户名
  const savedUsername = localStorage.getItem('username')
  if (savedUsername) {
    loginForm.username = savedUsername
    loginForm.remember = true
  }

  // 如果需要验证码，刷新验证码
  if (showCaptcha.value) {
    refreshCaptcha()
  }
})
</script>

<style scoped>
/* 主容器 */
.login-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  display: flex;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
}

/* 动态背景网格 */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* 浮动粒子背景 */
.bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: particle-float 15s linear infinite;
}

.particle:nth-child(odd) {
  animation-duration: 20s;
  background: rgba(255, 255, 255, 0.6);
}

.particle:nth-child(3n) {
  animation-duration: 25s;
  background: rgba(255, 255, 255, 0.3);
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* 为每个粒子随机分布位置 */
.particle:nth-child(1) { left: 5%; animation-delay: -2s; }
.particle:nth-child(2) { left: 15%; animation-delay: -4s; }
.particle:nth-child(3) { left: 25%; animation-delay: -6s; }
.particle:nth-child(4) { left: 35%; animation-delay: -8s; }
.particle:nth-child(5) { left: 45%; animation-delay: -10s; }
.particle:nth-child(6) { left: 55%; animation-delay: -12s; }
.particle:nth-child(7) { left: 65%; animation-delay: -14s; }
.particle:nth-child(8) { left: 75%; animation-delay: -16s; }
.particle:nth-child(9) { left: 85%; animation-delay: -18s; }
.particle:nth-child(10) { left: 95%; animation-delay: -20s; }

/* 左侧介绍区域 */
.intro-section {
  flex: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 80px;
  position: relative;
  z-index: 10;
}

.intro-content {
  max-width: 560px;
  width: 100%;
}

.brand-header {
  text-align: left;
  margin-bottom: 28px;
}

/* 删除 logo 相关样式后，保留占位的间距由标题承担 */

.brand-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.title-gradient {
  color: rgba(255, 255, 255, 0.95);
}

.title-normal {
  color: rgba(255, 255, 255, 0.8);
}

.brand-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin: 0;
}

.intro-badges {
  display: flex;
  gap: 10px;
  margin: 20px 0 28px 0;
}

.badge {
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-item {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
}

.stat-label {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 6px 0;
}

.feature-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
}

/* 右侧登录区域 */
.login-section {
  flex: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(26px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.login-box {
  width: 100%;
  max-width: 360px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow:
    0 18px 38px rgba(17, 24, 39, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: login-box-entrance 0.7s ease-out;
}

@keyframes login-box-entrance {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* 登录头部 */
.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
}

.login-subtitle {
  font-size: 14px;
  color: #7a7a7a;
  margin: 0;
}

/* 左侧极光背景 */
.intro-aurora {
  position: absolute;
  inset: -20% -10% -10% -20%;
  pointer-events: none;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,0.14), transparent 60%),
              radial-gradient(900px 400px at 60% 0%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(1000px 500px at 100% 40%, rgba(255,255,255,0.10), transparent 60%);
  filter: blur(30px);
  opacity: 0.7;
}

/* 表单样式 */
.login-form {
  margin-bottom: 32px;
}

.login-form :deep(.el-form-item) {
  margin-bottom: 24px;
}

/* 统一表单项与输入宽度，避免后缀图标导致可视宽度差异 */
.login-form :deep(.el-form-item__content) {
  width: 100%;
}

.modern-input {
  width: 100%;
  display: block;
}

.input-wrapper {
  position: relative;
}

.input-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.input-wrapper:hover::before {
  opacity: 1;
}

.modern-input :deep(.el-input__wrapper) {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(102, 126, 234, 0.2) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1) !important;
  transition: all 0.3s ease !important;
  width: 100%;
  box-sizing: border-box;
}

.modern-input :deep(.el-input__wrapper:hover) {
  border-color: rgba(102, 126, 234, 0.4) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
}

.modern-input :deep(.el-input__wrapper.is-focus) {
  border-color: #667eea !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.modern-input :deep(.el-input__inner) {
  color: #333 !important;
  background: transparent !important;
}

.modern-input :deep(.el-input__inner::placeholder) {
  color: #999 !important;
}

.modern-input :deep(.el-input__prefix) {
  color: #667eea !important;
}

.modern-input :deep(.el-input__suffix) {
  color: #667eea !important;
}

/* 验证码容器 */
.captcha-container {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.captcha-input {
  flex: 1;
}

.captcha-image {
  position: relative;
  width: 120px;
  height: 48px;
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.captcha-image:hover {
  border-color: rgba(102, 126, 234, 0.4);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.captcha-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.captcha-refresh {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 10px;
  color: #667eea;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 4px;
  border-radius: 4px;
}

/* 登录选项 */
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modern-checkbox :deep(.el-checkbox__label) {
  color: #666 !important;
  font-size: 14px;
}

.modern-checkbox :deep(.el-checkbox__input.is-checked .el-checkbox__inner) {
  background-color: #667eea !important;
  border-color: #667eea !important;
}

.forgot-link {
  font-size: 14px;
  text-decoration: none;
}

.forgot-link :deep(.el-link__inner) {
  color: #667eea !important;
}

.forgot-link:hover :deep(.el-link__inner) {
  color: #764ba2 !important;
}

/* 登录按钮 */
.modern-btn {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.modern-btn:active {
  transform: translateY(0);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-icon {
  font-size: 18px;
}

.btn-loading {
  color: rgba(255, 255, 255, 0.8);
}

/* 底部区域 */
.login-footer {
  text-align: center;
}

.demo-tips {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.tips-icon {
  color: #667eea;
  font-size: 16px;
  margin-top: 2px;
}

.tips-content {
  flex: 1;
  text-align: left;
}

.tips-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.tips-text {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* 装饰元素 */
.decoration-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  animation: float-shape 8s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1 {
  width: 150px;
  height: 150px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.shape-2 {
  width: 100px;
  height: 100px;
  top: 70%;
  right: 12%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 15%;
  left: 15%;
  animation-delay: 4s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 45%;
  right: 5%;
  animation-delay: 6s;
}

@keyframes float-shape {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.6;
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .intro-section {
    padding: 40px;
  }

  .brand-title {
    font-size: 36px;
  }

  .features-list {
    gap: 16px;
  }

  .feature-item {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .intro-section {
    flex: none;
    padding: 40px 20px;
    min-height: auto;
  }

  .brand-header {
    margin-bottom: 40px;
  }

  .brand-title {
    font-size: 32px;
  }

  .brand-subtitle {
    font-size: 16px;
  }

  .features-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item {
    flex-direction: row;
    padding: 12px;
    text-align: left;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .feature-content h3 {
    font-size: 16px;
  }

  .feature-content p {
    font-size: 13px;
  }

  .login-section {
    flex: none;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
  }

  .login-box {
    padding: 24px;
    max-width: none;
  }

  .login-title {
    font-size: 24px;
  }

  .bg-particles {
    display: none;
  }

  .particle {
    display: none;
  }
}

@media (max-width: 480px) {
  .intro-section {
    padding: 20px;
  }

  .brand-header {
    margin-bottom: 24px;
  }

  .brand-title {
    font-size: 28px;
  }

  .login-section {
    padding: 15px;
  }

  .login-box {
    padding: 20px;
  }

  .login-title {
    font-size: 22px;
  }

  .captcha-container {
    flex-direction: column;
    gap: 12px;
  }

  .captcha-image {
    width: 100%;
    height: 48px;
  }

  .modern-btn {
    height: 50px;
  }

  .floating-shape {
    display: none;
  }
}

/* 深色主题适配 */
@media (prefers-color-scheme: dark) {
  .login-container {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  }
}
</style>
